﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.WCS.Domain.EntityInfo;
using Zocono.WCS.Infrastructure.ApllicationDto;
using Zocono.WCS.Infrastructure.ApllicationDto.WCSTaskDto;

namespace Zocono.WCS.Domain.WorkTaskDomain
{
    public interface IWorkTaskInfoServeice : IDomainService
    {
        Task<PageDto<WCSWorkTaskInfoDto>> GetPagedWorkTaskInfoAsync(QueryWorkTaskInfoDto queryWorkTaskInfoDto);
        Task<PageDto<WCSWorkTaskInfoDto>> GetPagedCurrentWorkTaskInfoAsync(QueryWorkTaskInfoDto queryWorkTaskInfoDto);

        Task<WorkTaskInfo> GetWorkTaskInfoByIdAsync(long id);

        Task<bool> UpdataWorkTaskInfoByTask(WorkTaskInfo workTaskInfo);
        Task<bool> DelWorkTaskInfAsync(long id);

        /// <summary>
        /// 模拟交互获取wms任务
        /// </summary>
        /// <param name="containerBarcode"></param>
        /// <param name="equipment"></param>
        /// <returns></returns>
        Task<bool> GetWarehouseWMSTaskAsync(string containerBarcode, string equipment);
    }
}
